package com.torry.edss.domain.accessor;

import com.torry.edss.domain.model.Company;
import com.torry.edss.infras.entity.CompanyDO;
import com.torry.boot.starter.mybatisplus.service.IAccessor;

/**
 * <p>
 *  访问类
 * </p>
 *
 * @author torry.wang
 * @since 2025-05-07
 */
public interface CompanyAccessor extends IAccessor<Company,CompanyDO> {

    Company getByCode(String code);
    String getCode(Long companyId);
}
